package com.ktwlsoft.archivemanage.payload.inforConst;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Positive;

@ApiModel("基础设施更新")
@Getter
@Setter
public class InfrastructureUpdateRequest {

//    /**立档单位Id**/
//    @ApiModelProperty("立档单位Id")
//    @NotNull
//    private Long unitId;

    /**库房面积(平方米)**/
    @ApiModelProperty("库房面积(平方米)")
    @Positive(message = "库房面积不能为负数")
    @Digits(integer = 5,fraction = 2)
    private Double storeArea;

    /**办公室面积(平方米)**/
    @ApiModelProperty("办公室面积(平方米)")
    @Positive(message = "办公室面积不能为负数")
    @Digits(integer = 5,fraction = 2)
    private Double officeArea;

    /**阅览室面积(平方米)**/
    @ApiModelProperty("阅览室面积(平方米)")
    @Positive(message = "阅览室面积不能为负数")
    @Digits(integer = 5,fraction = 2)
    private Double readRoomArea;

    /**密集柜(组)**/
    @ApiModelProperty("密集柜(组)")
    @Positive(message = "密集柜不能为负数")
    private Integer compactShelve;

    /**目录柜(个,最大9999)**/
    @ApiModelProperty("目录柜(个,最大9999)")
    @Positive(message = "目录柜不能为负数")
    private Integer catelogueCabinet;

    /**温湿度计(个,最大9999)**/
    @ApiModelProperty("温湿度计(个,最大9999)")
    @Positive(message = "温湿度计不能为负数")
    private Integer hygrothermograph;

    /**灭火器(个,最大9999)**/
    @ApiModelProperty("灭火器(个,最大9999)")
    @Positive(message = "灭火器不能为负数")
    private Integer extinguisher;

    /**展室面积(平方米)**/
    @ApiModelProperty("展室面积(平方米)")
    @Positive(message = "展室面积不能为负数")
    @Digits(integer = 5,fraction = 2)
    private Double exhibitionArea;

    /**五节柜(节)**/
    @ApiModelProperty("五节柜(节)")
    @Positive(message = "五节柜不能为负数")
    private Integer sectionFiveArk;

    /**防磁柜(个,最大9999)**/
    @ApiModelProperty("防磁柜(个,最大9999)")
    @Positive(message = "防磁柜不能为负数")
    private Integer magneticallyArk;

    /**空调(台,最大9999)**/
    @ApiModelProperty("空调(台,最大9999)")
    @Positive(message = "空调不能为负数")
    private Integer airConditioner;

    /**库房监控头(个,最大9999)**/
    @ApiModelProperty("库房监控头(个,最大9999)")
    @Positive(message = "库房监控头不能为负数")
    private Integer storeWatcher;

    /**除湿机(台,最大9999)**/
    @ApiModelProperty("除湿机(台,最大9999)")
    @Positive(message = "除湿机不能为负数")
    private Integer dehumidifier;

    /**阅档室监控头(个,最大9999)**/
    @ApiModelProperty("阅档室监控头(个,最大9999)")
    @Positive(message = "阅档室监控头不能为负数")
    private Integer archiveWatcher;
}
